<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui" template="../public/template.xhtml">

	<script type="text/javascript">
		
	</script>


	<ui:define name="conteudoEsq">
		<h:form>
			<p:panelGrid id="panel" columns="3" style="text-align:center;">
				<f:facet name="header">
		    		Alterar Login
		    	</f:facet>

				<h:outputLabel for="login" value="Login"></h:outputLabel>
				<p:inputText id="loginCampo" required="true"
					value="#{loginbean.login.username}" label="Login">
					<p:tooltip
						style="background-color:#63b8FF;border-radius:3px 3px 3px;color:#FFFFFF"
						for="loginCampo" value="Digite um login." showEffect="fade"
						hideEffect="fade" />
				</p:inputText>
				<p:messages />

				<h:outputLabel for="senha" value="Senha"></h:outputLabel>
				<p:password id="senha" value="#{loginbean.login.senha}"
					feedback="true" inline="true">
					<p:tooltip
						style="background-color:#63b8FF;border-radius:3px 3px 3px;color:#FFFFFF"
						for="senha" value="Digite uma senha." showEffect="fade"
						hideEffect="fade" />
				</p:password>
				<p:messages />

				<f:facet name="footer">
					<p:commandButton value="Inserir"
						action="#{loginbean.alterarLogin()}" id="salvar"
						icon="ui-icon-disk" title="Salvar"
						style="width:100%;text-align:center; border:none!important;padding:0px!important;"></p:commandButton>
				</f:facet>

				
			</p:panelGrid>
			<p:growl autoUpdate="true" globalOnly="true" showDetail="true"/>
		</h:form>

	</ui:define>

	<ui:define name="conteudoDir">
		
	</ui:define>

</ui:composition>
